package com.example.power_service.otherservice;

import com.example.power_service.return_data.Mall_Data;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(name = "USERSERVICE")
public interface Otherservice
{
   @RequestMapping("/selectmydata")
    Mall_Data checklogin(@RequestParam("userid") int userid);
}
